﻿@model GosWeb.Models.Db.GeneRatio

@{
    ViewBag.Title = "建血统比例";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>建血统比例 |  @Html.ActionLink("返回详细页", "../Biont/Details", new { id = Model.AnID}) </legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.AnID)
        </div>
        <div class="editor-field">
            @Html.DisplayFor(model => model.AnID)
             @Html.HiddenFor(model => model.AnID)
            @Html.ValidationMessageFor(model => model.AnID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.GeneCode)
        </div>
        <div class="editor-field">
            @Html.DropDownListFor(model => model.GeneCode, new SelectList(GosWeb.Biz.BiontBiz.GetInstance().Genes, "Code", "Name"))
            @Html.ValidationMessageFor(model => model.GeneCode)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Ratio)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Ratio)
            @Html.ValidationMessageFor(model => model.Ratio)
        </div>

        <p>
            <input type="submit" value="保存" />
        </p>
    </fieldset>
}

<div>
  
</div>

